#!/bin/bash

# This file is part of the SHACrypt test suite and is licensed
# under the same license as SHACrypt.

# Description:
# Make an empty file. Attempt to do an asymmetric crypt with
# the password "test" (which should fail)

echo "Test 5: Asymmetric crypt of random data"

./test-helper rand5.tmp

$SHACRYPT a test rand5.tmp f5.tmp
result=$?

rm -f rand5.tmp f5.tmp

exit $result